enum TwoWheelerType : String {
    case scooty = "Scooty"
    case bike = "Bike"
}

class Vehicle{
    var vehicleType: VehicleType
    
    init(vehicleType: VehicleType){
        self.vehicleType = vehicleType
        print("Vehicle type initialized.")
    }
}

class TwoWheeler : Vehicle{
    var twoWheelerType : TwoWheelerType 
    var manufacturer : String 
    
    init(twoWheelerType : TwoWheelerType, manufacturer : String, vType : VehicleType) {
        self.twoWheelerType = twoWheelerType
        self.manufacturer = manufacturer
        print("Class TwoWheeler. \(self.twoWheelerType.rawValue) manufacturer is \(self.manufacturer)")
        super.init(vehicleType: vType)
    }
}

var t = TwoWheeler(twoWheelerType: .scooty, manufacturer: "Hero Honda", vType: .twoWheeler)
// 输出结果将包括制造商信息和初始化消息。
